colorModel

abstract fun colorModel(colorModel: ColorModel): T

Configures the colorModel for printing.

Return

this instance

Parameters

colorModel

the color mode to use

See also

Throws

if the printer does not support the specified color model

if the current printing operation has been completed


abstract fun colorModel(): ColorModel

Returns the color model used by the printer.

Throws

if the current printing operation has been completed